package com.example.bankmanage.dto.rep;

import com.example.bankmanage.constant.StatusAccounts;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class GetAccountDetailReqDTO {
    private Integer userId;//用户id
    private String accountNumber;//账户号
    private StatusAccounts accountType; //账户类型//ENUM('SAVINGS', 'CHECKING', 'CREDIT', 'LOAN') NOT NULL,
    private double balance;//余额
    private String currency;//货币
    private StatusAccounts status; //ENUM('ACTIVE', 'DORMANT', 'CLOSED', 'FROZEN') DEFAULT 'ACTIVE',
    private double interestRate;
    private double creditLimit; //仅对信用卡账户有效
}
